package com.hunan.chinamobile.model;

import javax.persistence.Id;
import java.util.Date;

public class DeviceData {

    @Id
    private Integer id;

    private String deviceId;

    private Integer oneNetId;

    private String imei;

    private String resouceId;

    private Integer type;

    private Double value;

    private Date createdAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOneNetId() {
        return oneNetId;
    }

    public void setOneNetId(Integer oneNetId) {
        this.oneNetId = oneNetId;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getResouceId() {
        return resouceId;
    }

    public void setResouceId(String resouceId) {
        this.resouceId = resouceId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}